package com.aqie.ad.sponsor.service;


import com.aqie.ad.common.exception.AdException;
import com.aqie.ad.sponsor.vo.*;

/**
 * @Function: 推广单元接口
 * @Author: aqie
 * @Date: 2019/3/16 15:54
 */
public interface IAdUnitService {

    /**
     *
     * @param request
     * @return
     * @throws AdException
     */
    AdUnitResponse createUnit(AdUnitRequest request) throws AdException;

    /**
     *
     * @param request
     * @return
     * @throws AdException
     */
    AdUnitKeywordResponse createUnitKeyword(AdUnitKeywordRequest request)
            throws AdException;

    AdUnitItResponse createUnitIt(AdUnitItRequest request)
            throws AdException;

    AdUnitDistrictResponse createUnitDistrict(AdUnitDistrictRequest request)
            throws AdException;

    CreativeUnitResponse createCreativeUnit(CreativeUnitRequest request)
            throws AdException;

}
